package com.boesch.electroOffice.presentation.appointment;

import java.io.Serializable;

import com.boesch.electroOffice.model.enums.SubfunctionIdentifier;

public class AppointmentSubfunctionUtils implements Serializable {

	private static final long serialVersionUID = 9008329269853706264L;

	private static String[] mainLinkKeys = new String[] {
		SubfunctionIdentifier.MY_APPOINTMENTS.getValue(), 
		SubfunctionIdentifier.MY_OPEN_APPOINTMENTS.getValue(), 
		SubfunctionIdentifier.MY_CLOSED_APPOINTMENTS.getValue(),
		SubfunctionIdentifier.NOT_ASSIGNED_APPOINTMENTS.getValue(), 
		SubfunctionIdentifier.ALL_APPOINTMENTS.getValue()
	};
	
	private static String[] buttonLinkKeys = new String[] {
		SubfunctionIdentifier.NEW_APPOINTMENT.getValue()
	};
	
	private static String[] subLinkKeys = new String[] {
		SubfunctionIdentifier.ENTER_WORKINGHOURS.getValue(),
		SubfunctionIdentifier.ENTER_MATERIAL.getValue(),
		SubfunctionIdentifier.NEW_MEASUREMENT.getValue(),
		SubfunctionIdentifier.SHOW_MEASUREMENTS_TO_APPOINTMENT.getValue()
	};
	
	public static String[] getMainLinkKeys() {
		return mainLinkKeys;
	}
	
	public static String[] getButtonLinkKeys() {
		return buttonLinkKeys;
	}
	
	public static String[] getSubLinkKeys() {
		return subLinkKeys;
	}
	
	public static String[][] getSubfunctionArrays() {
		String[][] subfunctionArrays = {mainLinkKeys, buttonLinkKeys, subLinkKeys};
		return subfunctionArrays;
	}
}
